#include"NamedPipe.hpp"


int main()
{
    NamedPipe fifo(path,gUser);
    if(fifo.OpenForWrite())
    {
        std::cout<<"client open namepipe done ... "<<std::endl;
        while(true)
        {
            std::cout<<"please enter"<<std::endl;
            std::string message;
            std::getline(std::cin,message);
            fifo.WriteNamedPipe(message);
        }
        
    }
    
    return 0;
}
